package net.sxnic.ugr.dept.action;

import java.util.List;

import net.sxnic.ugr.UgrActionSupport;
import net.sxnic.ugr.dept.Dept;
import net.sxnic.ugr.dept.DeptManager;

import org.springframework.beans.factory.annotation.Autowired;

@SuppressWarnings("serial")
public class DeptAction extends UgrActionSupport {
	
	@Autowired
	protected DeptManager deptManager;
	
	protected Dept dept;
	
	protected Dept parent;

	protected List<Dept> list;
	
	protected String root;

	public String getRoot() {
		return root;
	}

	public void setRoot(String root) {
		this.root = root;
	}

	public List<Dept> getList() {
		return list;
	}

	public void setList(List<Dept> list) {
		this.list = list;
	}

	public Dept getDept() {
		return dept;
	}

	public void setDept(Dept dept) {
		this.dept = dept;
	}
	
	public Dept getParent() {
		return parent;
	}

	public void setParent(Dept parent) {
		this.parent = parent;
	}

}
